<%= form_for(@entity, :url => [@update,Entity], :html => {:title => "change password form"}) do |f| %>
	<% if @entity.errors.any? %>
		<div id="error_explanation">
		  <h2><%= pluralize(@entity.errors.count, "error") %> prohibited this entity from being saved:</h2>
	
		  <ul>
		  <% @entity.errors.full_messages.each do |msg| %>
			<li><%= msg %></li>
		  <% end %>
		  </ul>
		</div>
	<% end %>  
	<div class="hiddenfield">
		<%= hidden_field_tag(:id, @entity.id) %>
	</div>
	
	<div class="field">
		<%= f.label(:password,"Password") %></br>
		<%= f.password_field(:password, :placeholder => "Enter password", :title => "password field") %>
	</div></br>
	<div class="field">
		<%= f.label(:password_confirmation,"Confirmation") %></br>
		<%= f.password_field(:password_confirmation, :placeholder => "Enter password confirmation", :title => "password confirmation field") %>
	</div></br>
		
	<div class="actions">
		<%= f.submit(:value => 'Save changes', :title => 'Save changes') %>
	</div>
<% end %>


